﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Projet_Final_ASP
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        public static Cart shoppingCart;
        protected void Page_Load(object sender, EventArgs e)
        {
            AccesBD.LoadDB(HttpContext.Current.Server.MapPath("~/App_Data/FinalASP.accdb"));
            shoppingCart = new Cart();
            Session.Add("shoppingCart", shoppingCart);
        }
    }
}
